package com.concerneyes.titleView;

import android.os.Bundle;
import android.view.View;
import android.widget.ListView;

import com.concerneyes.R;
import com.concerneyes.titleView.adapter.msgAdapter;

import common.AbsActivity;

/**
 * 系统消息
 */

public class MsgActivity extends AbsActivity {
    private ListView mLvMsg;
    private msgAdapter adapter;

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.activity_msg);
        setTitle(R.string.mine_topbar_right);
        getRightText().setVisibility(View.VISIBLE);
        getRightText().setText(R.string.manager);
        initView();
    }

    private void initView() {
        mLvMsg = (ListView) findViewById(R.id.lv_msg);
        adapter= new msgAdapter(this);
        mLvMsg.setAdapter(adapter);
    }
}
